package com.example.demo.bean;

public class Expense {
    int id;
    String medicineID;
    int buyprice;
    Medicine medicine;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getMedicineID() {
        return medicineID;
    }

    public void setMedicineID(String medicineID) {
        this.medicineID = medicineID;
    }

    public int getBuyprice() {
        return buyprice;
    }

    public void setBuyprice(int buyprice) {
        this.buyprice = buyprice;
    }

    public Medicine getMedicine() {
        return medicine;
    }

    public void setMedicine(Medicine medicine) {
        this.medicine = medicine;
    }


    @Override
    public String toString() {
        return "Expense{" +
                "id=" + id +
                ", medicineID='" + medicineID + '\'' +
                ", buyprice=" + buyprice +
                ", medicine=" + medicine +
                '}';
    }
}
